<?php
/**
 * Created by PhpStorm.
 * User: xsp
 * Date: 2018/5/12
 * Time: 20:36
 */

namespace backend\controllers;


use yii\web\Controller;

class AdminController extends Controller
{
    public $layout='index';
    public function actionAdd()
    {
        return $this->render('add');
    }

    public function actionList()
    {
        return $this->render('list');
    }

    public function actionPermission()
    {
        return $this->render('permission');
    }

    public function actionRole()
    {
        return $this->render('role');
    }

    public function actionRoleAdd()
    {
        return $this->render('roleAdd');
    }

}